/*
 *公司版权注释
 */
package com.yckj.dao;

import com.yckj.domain.Lawyer;

import java.util.List;

/**
 * @author lihang
 * @version 1.0版本
 */
public class LawyerDao {
    /**
     * 新建律师
     * @param lawyer
     * @return 返回1，添加成功，返回0，添加失败
     */
    public int creatLawyer(Lawyer lawyer){
        System.out.println("创建律师...........");
        return 0;
    }

    /**
     * 修改律师
     * @param lawyer
     * @return
     */
    public int modifyLawyer(Lawyer lawyer){
        System.out.println("修改律师...........");
        return 1;
    }

    /**
     * 查询律师
     * @return 返回律师集合
     */
    public List<Lawyer> findLawyer(){
        System.out.println("查询律师...");
        return null;
    }

}
